<div class="container">
	<div class="row">
		<div class="span5">
			<div class="body_section">
				<%= image_tag "coffee_cup.png", :class => 'body_section_image' %>
			</div>
		</div>
		<div class="span7">
			<h1><%= t 'dang_nhap'%></h1>
			
			<%= form_tag dang_nhap_path, :id=> 'dang_nhap' do %>
			<% if flash[:loi_dang_nhap].present? %>
			<p class="alert alert-error input-xlarge">
				<%= flash.now[:loi_dang_nhap]%>
			</p>
			<% end %>
			<p>
				<%= label_tag :email, t('email') %>
				<%= text_field_tag :email, params[:email], :class=>"input-xlarge" %>
			</p>
			<p>
				<%= label_tag :mat_khau, t('mat_khau') %>
				<%= password_field_tag :mat_khau, '', :class=>"input-xlarge" %>
			</p>
			<p>
				<label> <%= check_box_tag(:ghi_nho, "yes", (params[:ghi_nho].present?)) %> <span><%= t 'ghi_nho_dang_nhap'%></span> </label>
			</p>
			<p >
				<%= submit_tag t('dang_nhap'), :class=>"btn btn-primary" %>
			</p>
			<p>
				<%= link_to t('quen_mat_khau'), url_for(:action => 'quen_mat_khau', :controller => 'nguoi_dung')%>
			</p>
			<p>
				<%= link_to t('chua co tai khoan dang ki ngay'), dang_ky_path%>
			</p>
			<% end %>
		</div>

	</div>
</div>
